package com.hexinfo.dmpro.data.disaster.recovery.backups.model;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.validation.annotation.Validated;

import java.util.Date;

/**
 * 生产数据灾备过滤清单
 *
 * @author wz.li
 * @date 2023-10-09 18:54:26
 */
@Data
@Validated
@TableName("TD_DISASTER_RECOVERY_FILTER")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "生产数据灾备过滤清单")
public class DisasterRecoveryFilter extends Model<DisasterRecoveryFilter> {
private static final long serialVersionUID = 1L;

    /**
     * 生产数据灾备过滤清单ID
     */
    @TableId(type= IdType.ASSIGN_UUID)
    @ApiModelProperty(value="生产数据灾备过滤清单ID")
    private String id;
    /**
     * 库名
     */
    @ApiModelProperty(value="库名")
    private String dbName;
    /**
     * 表名
     */
    @ApiModelProperty(value="表名")
    private String tableName;
    /**
     * 创建人
     */
    @ApiModelProperty(value="创建人")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;
    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value="更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String lastUpdateBy;
    /**
     * 更新时间
     */
    @ApiModelProperty(value="更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Date lastUpdateTime;
    /**
     * 删除标识
     */
    @ApiModelProperty(value="删除标识")
    @TableField(fill = FieldFill.INSERT)
    private String del;
    }
